package learningThread.syn.synchronizedMethodLockObj.communicate.producerAndConsumer;

import java.util.ArrayList;

public class Test {

    public static void main(String[] args) {
        Container container = new Container(new ArrayList<>());
        Producer producer = new Producer(container);
        Consumer consumer = new Consumer(container);
        producer.start();
        consumer.start();
    }
}
